package com.ruoyi.system.domain;
/**
 * 司机钱包
 */

import com.ruoyi.common.core.domain.BaseEntity;


public class Purse extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String driverCode;

    private Double brokerage;

    private Double cash;


    public Purse() {
    }

    public Purse(Integer id, String driverCode, Double brokerage, Double cash) {
        this.id = id;
        this.driverCode = driverCode;
        this.brokerage = brokerage;
        this.cash = cash;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDriverCode() {
        return driverCode;
    }

    public void setDriverCode(String driverCode) {
        this.driverCode = driverCode;
    }

    public Double getBrokerage() {
        return brokerage;
    }

    public void setBrokerage(Double brokerage) {
        this.brokerage = brokerage;
    }

    public Double getCash() {
        return cash;
    }

    public void setCash(Double cash) {
        this.cash = cash;
    }

    @Override
    public String toString() {
        return "Purse{" +
                "id=" + id +
                ", driverCode='" + driverCode + '\'' +
                ", brokerage=" + brokerage +
                ", cash=" + cash +
                '}';
    }
}
